package com.vichat.room.entity;

import javax.persistence.*;

/***************
 *author: autogen
 *version: 2017-12-13 15:47:49.74
 */
@Entity
@Table(name = "typedef_window_id", catalog = "roomdb")
public class TypedefWindowId implements java.io.Serializable{

	private static final long serialVersionUID = 1L;
	


    public static final String TABLE = "typedef_window_id";

    /** */
	public static final String ALIAS_VALUE = "value";
    /** */
	public static final String ALIAS_VIDEO_ID = "video_id";
    /** */
	public static final String ALIAS_AUDIO_ID = "audio_id";
    /** */
	public static final String ALIAS_MIC_MODE = "mic_mode";
    /** */
	public static final String ALIAS_REMARK = "remark";
	


 	@Id
	@Column(name = "value", unique = true, nullable = false)
    public Long value = 0l;
  
 	@Column(name = "video_id")
    public Long videoId;
  
 	@Column(name = "audio_id")
    public Long audioId;
  
 	@Column(name = "mic_mode")
    public Long micMode;
  
 	@Column(name = "remark")
    public String remark;
  





	public Long getValue() {
		return this.value;
	}
	
	public void setValue(Long value) {
		this.value = value;
	}

	public Long getVideoId() {
		return this.videoId;
	}
	
	public void setVideoId(Long value) {
		this.videoId = value;
	}

	public Long getAudioId() {
		return this.audioId;
	}
	
	public void setAudioId(Long value) {
		this.audioId = value;
	}

	public Long getMicMode() {
		return this.micMode;
	}
	
	public void setMicMode(Long value) {
		this.micMode = value;
	}

	public String getRemark() {
		return this.remark;
	}
	
	public void setRemark(String value) {
		this.remark = value;
	}


	
	public TypedefWindowId() {
	}
	
	public TypedefWindowId(boolean qryflag) {
	    if(qryflag){
	    		this.value = null;
				this.videoId = null;
				this.audioId = null;
				this.micMode = null;
				this.remark = null;
			    }
	}


	public TypedefWindowId(
	    Long inValue,
	    Long inVideoId,
	    Long inAudioId,
	    Long inMicMode,
		String inRemark
	 ) {
		super();
				this.value = inValue;
				this.videoId = inVideoId;
				this.audioId = inAudioId;
				this.micMode = inMicMode;
				this.remark = inRemark;
			}

	@Transient
	private long winNum;

	public long getWinNum() {
		return winNum;
	}

	public void setWinNum(long winNum) {
		this.winNum = winNum;
	}
}

